<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
{% block head %}{% end %}
<link rel="stylesheet" href="{{static_url('css/packed.css')}}">
<script type="text/javascript" src="http://lib.sinaapp.com/js/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="{{static_url('js/packed.js')}}"></script>
<script>
in_ajax = false;
</script>
</head>
<body>
<div id="html" >
<div id="header" class="">
		<div class="wrapper" >
		<div id="logo" class="left"><a href="/"><img src="{{static_url('img/logo.gif')}}"/></a></div>
		<div id="nav" class="left">
			<ul>
				<li><a href="/">首页</a></li>
				<li class="nav-line"><a href="/clothes/">靓衣</a></li>
				<li class="nav-line"><a href="/shoes/">美鞋</a></li>
				<li class="nav-line"><a href="/bags/">潮包</a><span class="new_icon"></span></li>
				<li class="nav-line"><a href="/accessories/">配饰</a></li>
				<!--<li class="nav-line"><a href="/home/">家居</a></li>-->
			</ul>
		</div>
		<!--
		<div style="color:#fff;margin-top:12px;font-size:12px;font-weight:bold;margin-left:20px;" class="left">咩乐还在努力开发中，如果疑问或者建议联系 微博<a href="http://www.weibo.com/mielove" style="color:#fff;text-decoration:underline;">@mielove</a> ^_^<br/>&nbsp;&nbsp;&nbsp;&nbsp;原 <a href="http://mielove.sinaapp.com" style="color:#fff;text-decoration:underline;">求收养地址</a></div>-->

			<div id="user_menu" class="right">
				{% if current_user %}
				<div class="">
				<div class="left"><a href="javascript:;" class="add" title="发布宝贝">发布宝贝</a></div>
				<div class="left" id="user">
					<div class="user" >
						<a href="javascript:;">
						<img src="http://tp4.sinaimg.cn/{{current_user["oauth_uid"]}}/30/5616467238/1">
						<span class="nick_name ">{{current_user["nick_name"]}}</span>
					</a>

					<ul class="dropdown hide clearfix">
						<span style="background:#fff;"></span>
						<div>
						<li><a href="/{% if current_user["domain"] %}{{current_user["domain"]}}{% else %}{{current_user["id"]}}{% end %}">我的发现</a></li>
						<li><a href="/accounts/basic">帐号设置</a></li>
						<li><a href="/account/invitation">邀请好友</a></li>
						<li class="last"><a href="/logout">退出</a></li>
						</div>
					</ul>
				</div></div>
				</div>
				{% else %}
				
				<ul class="user_nav">
					<!--<li ><a href="/register/">注册</a></li>-->
					<li><a href="/login">微博登录</a></li>
				</ul>
				
				{% end %}
		</div><!-- end user-->

		<div class="search right">
			<form action="/search">
						<input type="text" value="搜索商品" name="query" id="q" class="gray" >
						<button id="tag-search-btn" type="submit">搜索</button>
			</form>
		</div>


		</div>


	

</div>
<div id="header_bottom"></div>
<div class="wrapper" id="content" style="margin-top:65px;">
{% block content %}{% end %}
</div>
<a href="#top" id="goTop" class="goTop">返回顶部</a>

<div class="clearfix"></div>
	
<div id="footer" class="wrapper clearfix">

	<p class="copyright">
			<a target="_blank" href="/about/">关于咩乐</a> 
<span class="dott">·</span> &copy;2012 mielove 
			<br><span>沪ICP备11024994号-1</span> Time:{{ str(handler.request_time())[0:7]}} sec
		</p>
	</div><!--end footer-->
</div>
</body>
</html>
